package com.ydy.dao;

import java.util.List;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import com.ydy.domain.Brand;
import com.ydy.domain.Goods;
import com.ydy.domain.GoodsKind;

public interface GoodsMapper {

	List<Goods> list(Goods g);

	Goods show(String id);

	@Select("select * from brand")
	List<Brand> getBrand();

	@Select("select * from goodskind")
	List<GoodsKind> getGoodsKind();

	void add(Goods g);

	void update(Goods g);

	
	int dels(Integer[] ids);

}
